package qiyu.live.gift.provider.rpc;

import jakarta.annotation.Resource;
import org.apache.dubbo.config.annotation.DubboService;
import qiyu.live.gift.dto.GiftRecordDTO;
import qiyu.live.gift.interfaces.IGiftRecordRpc;
import qiyu.live.gift.provider.service.IGiftRecordService;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: sfx
 * Date: 2023-10-23
 * Time: 20:29
 */
@DubboService
public class GiftRecordRpcImpl implements IGiftRecordRpc {

    @Resource
    private IGiftRecordService giftRecord;

    @Override
    public void insertOne(GiftRecordDTO giftRecordDTO) {
        giftRecord.insertOne(giftRecordDTO);
    }
}